//
//  CommonNetWork.h
//  PostDelivery
//
//  Created by wmz on 2020/6/30.
//  Copyright © 2020 wmz. All rights reserved.
//

#import "PostBaseNetWork.h"

NS_ASSUME_NONNULL_BEGIN

@interface CommonNetWork : PostBaseNetWork
/// 上传图片
- (void)uploadImages:(NSArray <UIImage*>*)images
      viewController:(nullable UIViewController*)vc
            andBlock:(nullable PostNetWorkBock)block;
/// 上传图片
- (void)uploadImages:(NSArray <UIImage*>*)images
               names:(nullable NSArray <NSString*>*)names
      viewController:(nullable UIViewController*)vc
                info:(nullable NSArray*)infoArr
            andBlock:(nullable PostNetWorkBock)block;

/// 上传图片 单张
- (void)uploadOneImage:(UIImage*)image
                  name:(nullable NSString*)name
        viewController:(nullable UIViewController*)vc
                  info:(nullable NSArray*)infoArr
              andBlock:(nullable PostNetWorkBock)block;

///获取用户基本信息
- (void)requestGetUserInfo:(NSDictionary *)params viewController:(nullable UIViewController*)vc andBlock:(nullable PostNetWorkBock)block;

///查看会员基本信息-单向获取 或 双向获取均可
- (void)requestGetMemberInfo:(NSDictionary *)params viewController:(nullable UIViewController*)vc andBlock:(nullable PostNetWorkBock)block;

///腾讯云im
- (void)requestGetIM:(NSDictionary *)params viewController:(nullable UIViewController*)vc andBlock:(nullable PostNetWorkBock)block;
@end

NS_ASSUME_NONNULL_END
